<template>
  <div>
<!--    <svg-icon :icon-class="isFullscreen ? 'exit-fullscreen' : 'fullscreen'" @click="toggle" />-->
    <el-icon v-if="!isFullscreen" @click="toggle"><FullScreen /></el-icon>
    <el-icon v-if="isFullscreen" @click="toggle"><Aim /></el-icon>
  </div>
</template>

<script setup lang="ts">
const { isFullscreen, toggle } = useFullscreen();
</script>
